asSnapshotNodes

public abstract List<Node> asSnapshotNodes()

Returns the XPath result represented as an immutable list of the snapshot nodes.

Throws

if the current result is not of a list of the snapshot nodes (see isSnapshotNodes)

when the document this instance belongs to is closed